path.lazybuf.buf (field)
9 uses
path (current package)
path.go#L20: buf []byte
path.go#L25: if b.buf != nil {
path.go#L26: return b.buf[i]
path.go#L32: if b.buf == nil {
path.go#L37: b.buf = make([]byte, len(b.s))
path.go#L38: copy(b.buf, b.s[:b.w])
path.go#L40: b.buf[b.w] = c
path.go#L45: if b.buf == nil {
path.go#L48: return string(b.buf[:b.w])
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |